package com.powerunion.datacollection.dao;

import java.util.List;

import net.sf.json.JSONObject;

import com.powerunion.datacollection.model.MaintblData;
import com.powerunion.datacollection.model.SubFormSet;

public interface SubFormDataDao {

	public boolean save4MainTbl(MaintblData data, String formValues)
			throws DaoException;

	public JSONObject getMaintblDataInfo4SubFormMaintTbl(MaintblData data,int requestType)
			throws DaoException;

	public boolean save4SubTbl(MaintblData data, List formValues)
			throws DaoException;
	public List getSubFormData(MaintblData data,int requestType) throws DaoException;
	
	public List getSubFormData4Approve(String procId, List submissionWorkItems,
			int requestType) throws DaoException;
}
